Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github workflow #362

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
52be116
Add github workflow, first set up python
cristianMeli Nov 15, 2021
08023e7
Add a sample test to run workflow
cristianMeli Nov 15, 2021
12fedd2
Change branch: master to main
cristianMeli Nov 15, 2021
16e3565
Remove travis.yml
cristianMeli Nov 15, 2021
189a6c8
Fix github workflow
cristianMeli Nov 15, 2021
fdfc056
Add test step
cristianMeli Nov 15, 2021
993d991
Add test step
cristianMeli Nov 15, 2021
0e4fe45
Matrix refactor
cristianMeli Nov 15, 2021
81dc4a2
Fix matrix refactor
cristianMeli Nov 15, 2021
5ab1f67
Add deploy and try ubuntu14.04
cristianMeli Nov 19, 2021
4cfbfee
Fix if container
cristianMeli Nov 19, 2021
a705623
Fix access to matrix.container
cristianMeli Nov 19, 2021
7b4ed0c
Add image variable to matrix
cristianMeli Nov 24, 2021
262a444
Add image variable to all matrix items
cristianMeli Nov 24, 2021
eee463a
Replace expresion for string in docker uses
cristianMeli Nov 24, 2021
1f26c52
Fix uses docker image
cristianMeli Dec 1, 2021
6fedc12
Use container instead of uses docker
cristianMeli Dec 18, 2021
ec7ed05
Uses docker ubuntu trusty in setup container
cristianMeli Dec 18, 2021
9f40a32
Remove images from matrix and try to fix if
cristianMeli Dec 18, 2021
6a1c951
Fix if, I forgot double quote
cristianMeli Dec 18, 2021
deb8347
Replace double quotes for single quotes
cristianMeli Dec 18, 2021
79ee304
Move uses docker at all steps level, and use expressions
cristianMeli Dec 18, 2021
30da5e4
Test without expresion
cristianMeli Dec 18, 2021
912de0e
Try pypy3.6
cristianMeli Dec 18, 2021
c6408bb
Add pypy 2.7.13
cristianMeli Dec 18, 2021
45ca178
Try pip cache
cristianMeli Dec 18, 2021
1d846bb
Add sample matrix attribute to test cache
cristianMeli Dec 18, 2021
063fd51
Add other python versions
cristianMeli Dec 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Try pip cache
  • Loading branch information
cristianMeli committed Dec 18, 2021
commit 45ca178a338409db16d2563225d9484ea744fc94
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ jobs:
- uses: docker://ubuntu:trusty
if: "matrix.container"

- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-


- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v5 is the latest version of actions/setup-python currently.

Suggested change
uses: actions/setup-python@v2
uses: actions/setup-python@v5

with:
Expand Down