Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GitHub ActionsでWebDriverどこまでやるの?

GitHub ActionsでWebDriverどこまでやるの?

GitHub ActionsでWebDriverどこまでやるの? @ GitHub Actions Meetup Tokyo β 2019年10月16日

Toda Hiroshi

October 16, 2019
Tweet

More Decks by Toda Hiroshi

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ • ށా ޿ʢͱͩ ͻΖ͠ʣ !IJSPTIJUPEB • ೥ੜ·Ε ࡀ •

    σΟʔϓϥʔχϯάͱ"QQJVNΛར༻ͨ͠ ςετࣗಈԽ4BB4ʮ.BHJD1PEʯӡӦʹɺ ೥͔Βͪ·ͪ·ɺ೥͔Βͦͦ͜͜ ࢀՃ͍ͯ͠·͢ɻ • ೥ʹʮ4FMFOJVN࣮ફೖ໳ʯ ೥ʹ ʮΤΩεύʔτ͕ڭ͑Δ4FMFOJVN࠷લઢʯ ڞஶ͠·ͨ͠ɻͥͻ͓ങ͍ٻΊ͍ͩ͘͞ʂ
  2. ˞.BHJD1PEͷ͝঺հ˞ • ʮ.BHJD1PEʯ͸ɺಋೖͷෑډ͕ߴ͘ͳΓ͕ͪͳ ωΠςΟϒΞϓϦͷࣗಈςετΛ ͔ΜͨΜʹ࢝ΊΒΕΔςετࢧԉαʔϏεͰ͢ɻ • 8FC%SJWFS"1*ʹ४ڌͨ͠ωΠςΟϒΞϓϦࣗಈૢ࡞πʔϧ ʮ"QQJVNʯΛར༻͍ͯ͠·͢ɻ • σΟʔϓϥʔχϯάΛ׆༻ͨ͠ΞϓϦ6*ͷࣗಈൃݟ΍

    8FC(6*্Ͱͷςετ߲໨࡞੒ػೳ΋૊Έ߹Θͤͯɺ ςετ߲໨දΛ࡞ΔΑ͏ͳ؆୯ͳૢ࡞Ͱ ࣗಈςετͷ͘͠ΈΛ࡞Ε·͢ɻ • ωΠςΟϒΞϓϦ։ൃͰΑ͘࢖ΘΕΔ ଞͷαʔϏεͱͷ࿈ܞ΋ॆ࣮͖ͯ͠·ͨ͠ɻ • IUUQTNBHJDQPEDPN
  3. (JU)VC"DUJPOT͕ಈ͘ج൫ • l-JOVY͓Αͼ8JOEPXTͷ(JU)VC"DUJPOTԾ૝؀ڥ͸ɺ (JU)VC"DUJPOTSVOOFS͕Πϯετʔϧ͞Εͨ .JDSPTPGU"[VSFͷ4UBOEBSE@%4@WԾ૝Ϛγϯ্ʹ ϗετ͞Ε͍ͯ·͢ɻz • W͡Όͳ͍ͷͰ/FTUFE7JSUVBMJ[BUJPOʹରԠ͍ͯ͠·ͤΜɻ • ͭ·Γɺ͜ͷ؀ڥ্ʹԾ૝Ϛγϯ͸࡞Ε·ͤΜɻ

    • lNBD04Ծ૝؀ڥͷϗετʹ.BD4UBEJVNΛ࢖༻͍ͯ͠·͢ɻz • NBD04ͷ*BB4ͷதͰɺݱ࣌఺Ͱ͍ͪ͹ΜϚγͳͱ͜ΖͰ͢ɻ • .BD࣮ػΛିͯ͘͠Ε·͢ʢCBSFNFUBMͬͯ͜ͱͰ͢Ͷʣɻ • ͭ·Γɺ͜ͷ؀ڥ্ʹ͸Ծ૝ϚγϯΛ࡞Ε·͢ɻ
  4. (JU)VC"DUJPOT͕ಈ͘ج൫ ϔϧϓʹ͸ࡌ͍ͬͯͳ͍ਂ۷Γ৘ใ • -JOVYɾ8JOEPXT؀ڥͷϦιʔεׂΓ౰ͯ͸ υΩϡϝϯτهࡌͷͱ͓Γ W$16ɺ(#ϝϞϦʔ Ͱ͢ɻ • NBD04؀ڥ͸ʁʁʁ ௐ΂ͯΈ·ͨ͠ʂ

    • Ձ֨දʹ͸ lDPSFT (#zͱ͋Δ͕ʜʜ • $16*OUFM9FPO&W!()[ DPSFUISFBE • ϝϞϦʔ(# • ͜Εͬͯچ.BD1SPͰ͸ʁʁʁ ←ͦΕ͸ΰϛശ
  5. Ծ૝؀ڥ্ʹ΋ͱ΋ͱೖ͍ͬͯΔιϑτ΢ΣΞ ͪΐͬͱҧ͏໨ઢ • Ͳͷ؀ڥʹ΋ /&5DPSF4%,͕ೖ͍ͬͯͨΓɺ +%,͕ "[VM;VMV0QFO+%,ͩͬͨΓɺ ΄ΜͷΓͱ.JDSPTPGUͷϙϦγʔΛײͤ͡͞·͢ɻ • NBD04؀ڥʹ͸7JTVBM4UVEJPGPS.BD΋ೖ͍ͬͯͯ

    9BNBSJOͷϏϧυ͕ՄೳͳΑ͏Ͱ͢ɻ • ΩϟογϡࡁΈͷ%PDLFSίϯςφʔΠϝʔδ͕ ͍͔ͭ͘อ࣋͞Ε͍ͯ·͢ɻ ͜ͷΩϟογϡ͕ར͘δϣϒͳΒߴ଎ʹॲཧͰ͖ΔͰ ͠ΐ͏ɻ
  6. (JU)VC"DUJPOT্Ͱͷ"QQJVN • ࠓ೔ͷΠϕϯτʹ͸ ʮ͜͏ͨ͠Β4FMFOJVN"QQJVNಈ͍ͨΑʯ ٧Ί߹ΘͤͰ΋࣋ͬͯདྷΕ͹ྑ͍͔ͳʙͱ ҆қʹߟ͑ͯͨΒ࣍ʑͱઌΛӽ͞Εͯ͠·ͬͨΞΞΞΞ • ݄೔ • (JU)VC"DUJPOTͰ

    8JOEPXT*&ͱ .BD4BGBSJΛ TFMFOJVNXFCESJWFS Ͱಈ͔͢ IUUQTRJJUBDPNNJ[DIJJUFNTDEGCBGB • ݄೔ • (JUIVC "DUJPOT "QQJVNͰJ1IPOF4JNVMBUPSΛಈ͔͢ IUUQTRJJUBDPNUBLFZBYJUFNTDEB • ݄೔ • (JUIVC "DUJPOT "QQJVNͰ"OESPJE&NVMBUPSΛಈ͔͢ IUUQTRJJUBDPNUBLFZBYJUFNTCGCBBEE
  7. 8FC%SJWFSͱ%PDLFS • ͔ͨ͠ʹɺ 4FMFOJVNͳͲͷ8FC%SJWFSΫϥΠΞϯτΛར༻ͨ͠ 8FCϒϥ΢βʔૢ࡞ɾςετͷࣗಈԽͰ͸ %PDLFSͷར༻͸ͱͯ΋༗ޮͰ͢ɻ • ౾஌ࣝ4FMFOJVNެࣜͷ%PDLFSΠϝʔδ͸೥͔Β͋Γ·͢ɻ • $JSDMF$*ͷ

    DJSDMFDJOPEFMBUFTUCSPXTFST ͳΜ͔͸ (JU)VC"DUJPOTͰ΋ ΘΓͱؾܰʹ࢖͑ΔΑͶɺ ͱ͍͏هࣄ͕೥฻Εͷ࣌఺Ͱެ։͞Ε͍ͯ·͢ɻ IUUQTRJJUBDPNPLJUBOJUFNTCBEDEB
  8. ʲࢀߟʳ"OESPJEΤϛϡϨʔλʔೖΓͷ%PDLFSίϯςφʔ • CVEUNPEPDLFSBOESPJE • ೥ʹϝϧΧϦͰͷେن໛ͳར༻ࣄྫ͕ެ։͞Ε·ͨ͠ɻ • IUUQTUFDINFSDBSJDPNFOUSZ • ίϯςφαΠζ͸ʙ(#͘Β͍ɺ (JU)VC"DUJPOT্Ͱ෼͘Β͍ͰQVMMͰ͖·͢ɻ

    • "1*όʔδϣϯ͝ͱʹΠϝʔδ͕͋Γɺ࣮༻ੑ͕ߴ͍Ͱ͢ɻ • CJUSJTFJPEPDLFSBOESPJE • ΈΜͳେ޷͖#JUSJTFͰ࣮ࡍʹ࢖ΘΕ͍ͯΔ"OESPJEίϯςφʔɻ • Ί΅͍͠"1*όʔδϣϯશ෦ೖΓʹ͍ͯ͠ΔͷͰΫιॏ͍ɺ ίϯςφαΠζ͸ʙ(#͘Β͍ɻ ΩϟογϡͰ͖ͳ͍؀ڥͰ͸࣮༻ʹ଱͑·ͤΜɻ
  9. ʲࢀߟʳ"OESPJEΤϛϡϨʔλʔΛ࢖Θͳ͍ίϯςφʔ • BOCPY IUUQTBOCPYJP • "OESPJEΛ-JOVY্ͷίϯςφʔ Ћͱͯ͠ಈ͔͢͜ͱΛ ໨ඪͱͨ͠ϓϩδΣΫτͰ͢ɻ • ίϯςφʔٕज़ʹ-9$Λ࠾༻͍ͯ͠·͢ɻ

    • ݪཧ্ɺ/FTUFE7JSUVBMJ[BUJPOඇରԠͷԾ૝Ϛγϯ্Ͱ΋ ܰշʹಈ࡞͠·͢ɻ (JU)VC"DUJPOTͰ΋-JOVYΠϯελϯε্Ͱ࢖͑Δ͔΋ʜʜʁ • ೥ͷ"84SF*OWFOUͰ൸࿐͞Εͨ /%,ʹґଘͨ͠ΞϓϦΛ"Πϯελϯε্Ͱࣗಈૢ࡞͢ΔσϞͰ ج൫ͱͯ͠࢖ΘΕ͍ͯͨΑ͏Ͱ͢ɻ • "QQJVN͔Βૢ࡞Ͱ͖·͕͢ෆ҆ఆɻɻɻ