Skip to content

Instantly share code, notes, and snippets.

@Gr1N
Created January 12, 2020 12:17
Show Gist options
  • Save Gr1N/8fe2a84ce23a71ee7777a9fb140835a0 to your computer and use it in GitHub Desktop.
Save Gr1N/8fe2a84ce23a71ee7777a9fb140835a0 to your computer and use it in GitHub Desktop.
10 things I love about GitHub Actions (contexts and expressions)
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- runs: pip install -U -r requirements.txt
- runs: flake8
if: matrix.python-version == 3.8
- runs: pytest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment